<volist name="goods" id="good">
    <li class='goodsindex_{$good["id"]} <if condition="$goods_style eq 1">s1<else/>s2</if>'>
        <img src='{$good["img"]}'/>
        <p class='goods_name'>{$good["g_name"]}</p>
        <p class='goods_amt'>￥{$good["price"]}</p>
    </li>
</volist>